package com.chinacoal.microservice.api.model.vo;

import java.util.Map;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**  
 * @Package: com.chinacoal.microservice.model.uniontask.vo.CompleteTaskParam
 * @ClassName: CompleteTaskParam
 * @ClassDesc: 系统转换-完成待办参数实体
 * @Createby: sunh
 * @CreatedDate: 2020-01-08 16:31:27
 */  
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="系统转换-完成待办参数实体",description="系统转换-完成待办参数实体")
public class CompleteTaskParam {

    @ApiModelProperty(value ="待办Id", example="", required=true)
    @NotBlank(message = "待办Id不能为空: taskId")
	private String taskId;
    
    @ApiModelProperty(value ="系统码", example="", required=true)
    @NotBlank(message = "系统码不能为空: sysCode")
	private String sysCode;
    
    @ApiModelProperty(value ="类型码", example="", required=false)
    private String typeCode;
    
	@ApiModelProperty(value ="审批意见", example="",required=true)
	@NotBlank(message = "审批意见不能为空: approvalOpinion")
	private String approvalOpinion;
    
    @ApiModelProperty(value ="审批人", example="", required=true)
    @NotBlank(message = "审批人不能为空: approver")
	private String approver;
	
	@ApiModelProperty(value ="返回列表", example="", required=false)
	private Map<String,Object> resultParam;
    
    @ApiModelProperty(value ="操作码", example="1000-同意, 1001-驳回, 1002-转发", required=true)
    @NotBlank(message = "操作码不能为空: opcode")
    private String opcode;
}
